/// 响应主体内容
class WithdrawAmountStatisticsInfo {
  /// 今天的提现额度，单位美元
  final String? todayAmount;
  /// 昨天的提现额度，单位美元
  final String? yestodayAmount;
  /// 截止当前总的提现额度，单位美元
  final String? totalAmount;

  WithdrawAmountStatisticsInfo({
    this.todayAmount,
    this.yestodayAmount,
    this.totalAmount,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    if (todayAmount != null) data['todayAmount'] = todayAmount;
    if (yestodayAmount != null) data['yestodayAmount'] = yestodayAmount;
    if (totalAmount != null) data['totalAmount'] = totalAmount;
    return data;
  }

  factory WithdrawAmountStatisticsInfo.fromJson(Map<String, dynamic> json) {
    return WithdrawAmountStatisticsInfo(
      todayAmount: json['todayAmount'],
      yestodayAmount: json['yestodayAmount'],
      totalAmount: json['totalAmount'],
    );
  }
}